//============================================================================
// Name        : Messenger.cpp
// Author      : William Agnew
// Version     : 2.0
// Copyright   : Copyright(c) 2012 William Agnew
// Description : Minimizes the cost of a messenger route
//============================================================================

#include <iostream>
#include <string>
#include "Node.h"
#include "FileReader.h"
#include "Map.h"

using namespace std;

string fileName = "";
Map *map;

/**
 * Prompts user for file name
 *
 * @return Success flag
 */
int getFileName()
{
	cout << "Enter path to file:  ";
	cin >> fileName;
	//fileName = "./data.txt";
	cout << endl;
	return 1;
}

int main(int argc, char *argv[])
{
	getFileName();
	FileReader fileReader(fileName, map);
	fileReader.read();

	fileReader.printMetrics();
	map->printMap();


	//delete map;
	return 0;
}


